//
//  CMDBHomeShowLogoViewController.swift
//  CMDB
//
//  Created by 曹桂祥 on 2017/5/10.
//  Copyright © 2017年 CMDB. All rights reserved.
//

import UIKit

class CMDBHomeShowLogoViewController: CustomNormalContentViewController {
    
//    override func viewDidLoad() {
//        super.viewDidLoad()
//        
//        setup()
//        // Do any additional setup after loading the view.
//    }
    
   
        
        override func viewDidLoad() {
            super.viewDidLoad()
            
            setup()
            // Do any additional setup after loading the view.
        
        
    }

//
//    override func setup() {
//        super.setup()
//        
//        
//    }
//    override func buildTitleView() {
//        super.buildTitleView()
//
//        let iconView       = UIImageView(image: UIImage(named: "cmdb"))
//        
//        let middleY        = (titleView?.middleY)! + 8
//        
//        iconView.center    = CGPoint(x: (titleView?.middleX)!, y: middleY)
//        
//        titleView?.addSubview(iconView)
//        
//        let testBtn = UIButton()
//        
//        testBtn.setImage(UIImage(named: "test头像"), forState: .Normal)
//
//        testBtn.addTarget(self, action: #selector(testButtonClicked), forControlEvents: .TouchUpInside)
//
//        testBtn.frame = CGRect(x: 20, y: 20, width: 50, height: 50)
//        
//        testBtn.layer.cornerRadius = 3
//        
//        testBtn.layer.masksToBounds = true
//
//        testBtn.sizeToFit()
//        
//        titleView?.addSubview(testBtn)
//    }

}

